package com.ruoyi.slope.video.radar.domain;

import com.ruoyi.slope.video.radar.domain.RadarMonitoringBase;
import com.ruoyi.slope.video.radar.domain.RadarMonitoringDeformation;
import com.ruoyi.slope.video.radar.domain.RadarMonitoringPng;

public class RadarMonitoringFactory {
    public static RadarMonitoringBase create(String field) {
        if ("XBT".equals(field)) {
            return new RadarMonitoringDeformation();
        } else {
            return new RadarMonitoringPng();
        }
    }
}